<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.cell.PropertyValueFactory?>
<TableView fx:id="torrentsTable" minWidth="100" stylesheets="@../css/torrentstable.css" styleClass="torrents-table"
           xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml"
           fx:controller="ru.lukyanets.transmission.client.ui.controller.TorrentsTableController"
>
    <columns>
        <TableColumn minWidth="150" text="%torrents.table.column.name">
            <cellValueFactory>
                <PropertyValueFactory property="name"/>
            </cellValueFactory>
        </TableColumn>
        <TableColumn minWidth="50" fx:id="sizeColumn" text="%torrents.table.column.size" />
        <TableColumn minWidth="50" fx:id="completenessColumn" text="%torrents.table.column.completeness" />
        <TableColumn minWidth="50" fx:id="statusColumn" text="%torrents.table.column.status" />
        <TableColumn minWidth="50" fx:id="seedsColumn" text="%torrents.table.column.seeds" />
        <TableColumn minWidth="50" fx:id="peersColumn" text="%torrents.table.column.peers" />
        <TableColumn minWidth="50" fx:id="downloadColumn" text="%torrents.table.column.download" />
        <TableColumn minWidth="50" fx:id="uploadColumn" text="%torrents.table.column.upload" />
        <TableColumn minWidth="50" fx:id="priorityColumn" text="%torrents.table.column.priority" />
    </columns>
</TableView>